package cn.nxu;
public class HelloMaven {
public int addNumber(int a, int b){
int result = a + b;
System.out.println("run addNumber function,return result:" + result);
return result;
}
public static void main(String[] args){
HelloMaven hm = new HelloMaven();
int result = hm.addNumber(10, 8);
System.out.println("[main] use addNumber function,return result:" + result);
}
}
